﻿<!--{inc(header.view.html)}-->

<div class="content" id="content">
	<div class="top-menu-box">
    	<div class="z">
            <span class="z-f"><a href="#">网站设置</a>&nbsp;&gt;</span>
            <span class="z-f"><a href="#">修改滚动图片</a></span>
            <div class="z-f-r"><span class="user-t">当前语言为：</span><span class="user-info"><?php echo $GLOBALS['langdata'][$GLOBALS['langtype']] ;?></span><!-- <a href="#">退出</a> --></div>
        </div>
        <div class="top-menu">
        	<ul>
                                                 <li><a href="index.php?app=rollpic&act=index" target="mainframe">滚动图片列表</a></li>
                                                 <li><a  href="index.php?app=rollpic&act=add"   target="mainframe">增加滚动图片</a></li>			
				<li class="current"><a href="#" >修改滚动图片</a></li>	
				
            </ul>
            <div class="clear"></div>
        </div>
    </div>
    
    <div class="main">



                                   <form action="?app=rollpic&act=editpost" method="post" enctype="multipart/form-data">

<table  class="data" >
<tbody>
                                   <tr >

	                                      <td width="30%">图片名称:</td>
	                                      <td><input type="text" name="data[name]" value="{$picdata.name}" maxlength="30" /></td>
                                   </tr>
                                   <tr >
	                                      <td>链接提示文字(选填):</td>
	                                      <td><input type="text" name="data[alt]" value="{$picdata.images_alt}" maxlength="50" /></td>
                                   </tr>
                                   <tr >
	                                      <td>图片链接地址<br/>(如果是绝对地址，请以 http:// 或 https:// 开头):</td>

	                                      <td><input type="text" name="data[link]" size="50"  maxlength="80"  value="{$picdata.images_link}" /></td>
                                  </tr>
                                  <tr >
	                                      <td>图片链接打开目标(默认为当前浏览窗口):</td>
	                                      <td>
	                                      <select name="data[target]">
		                                       <option <!--{if ($picdata.images_target =='_self')}-->  selected <!--{/if}--> value="_self">_self</option>
		                                       <option <!--{if ($picdata.images_target =='_blank')}-->  selected <!--{/if}--> value="_blank">_blank</option>
		                                       <option <!--{if ($picdata.images_target =='_parent')}-->  selected <!--{/if}--> value="_parent">_parent</option>
		                                       <option <!--{if ($picdata.images_target =='_top')}-->  selected <!--{/if}--> value="_top">_top</option>
	                                     </select>
	                                     </td>
                                 </tr>
                                 
                                   <tr >
	                                      <td>图片上传:</td>

	                                      <td><input name="postfile1" type="file" class="buton" value=""/></td>
                                  </tr>
                                                                  
                                 <tr >
	                                     <td>显示状态:</td>
	                                     <td><input type="radio" name="data[show]" value="1" id="top" <!--{if ($picdata.status ==1)}-->  checked <!--{/if}--> /><label for="top">显示</label>&nbsp;<input type="radio" name="data[show]" value="0" id="bottom" <!--{if ($picdata.status ==0)}-->  checked <!--{/if}-->/><label for="bottom">隐藏</label></td>

                                </tr>
                                <tr >
	                                     <td>&nbsp;</td>
	                                     <td><input type="hidden" name="data[id]" value="{$picdata.id}" /> <input type="submit" class="buton" value=" 提 交 " /></td>
                                </tr>
            </tbody>
        </table>
                                </form>	
	
	
        
        <div class="notic"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b> <span >一般出现的问题有 <a href="http://www.phpscup.com/bbs/view.php?tid=149" target="_blank">【1】</a>，<a href="http://www.phpscup.com/bbs/view.php?tid=100" target="_blank">【2】</a></span> </div>
    </div>
</div>
<!--{inc(footer.view.html)}-->